package cn.edu.scau.sec.rw.model.disk_file.file;

public class TextFile extends VirtualFile{

    private String content;//随机内容

    /**
     * 文本文件，组合模式的叶子
     * @param filename
     * @param content
     * @param bytes
     */
    public TextFile(String filename,String content, int bytes) {
        super(filename, bytes);
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
